<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?>

<div class="bd">
	<?php foreach($dir_array as $dir) { ?>
	<div class="album">
		<a class="cover">
			<img src="<?php echo $dir['cover']; ?>"></img>
		</a>
		
		<a class="title" href="#">
			<span><?php echo $dir['path']; ?></span>
		</a>
	</div>
	<?php } ?>
</div>